package com.os.hr.controller;

import com.os.sys.common.filter.AuthTarget;
import com.os.sys.common.filter.AuthType;
import com.os.sys.common.utility.XJsonInfo;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/api/hr/org")
@RestController
public class HR_OrgController {
    @Value("${diy.kidd}")
    public String v2;

    @AuthTarget(AuthType.NONE)
    @GetMapping("/ts")
    public XJsonInfo ts(){
        return new XJsonInfo().setData(v2);
    }
}
